<!DOCTYPE html>
<html lang="en">
<head>
[#include "/customer/include/static.htm"]
    <link href="${path}/resources/css/user.css" rel="stylesheet" type="text/css" />

    <link href="${path}/resources/plug/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <script src="${path}/resources/plug/layui/layui.js" type="text/javascript"></script>
</head>
<body>
[#include "/customer/include/header.ftl"]
[#import "/customer/include/pagination.ftl" as p/]
<div class="member">
    <!--左边-->
[#include "/customer/include/member_left_menu.ftl"]

    <div class="memberRight">
        <div class="member_tab">
            <div class="member_tab">
                <a href="/member/account/log">资金明细</a>
                <a href="/member/account/edit">银行账户</a>
               [#--<a href="/member/account/go_recharge_offline">线下充值</a>--]
                <a href="/member/account/go_recharge_online">线上充值</a>
                <a href="/member/account/recharges">充值记录</a>
                <a href="/member/account/gocash">用户提现</a>
                <a class="on" href="/member/account/withdrawals">提现记录</a>
            </div>
        </div>
        <div class="member_tab_info">
            <table class="layui-table">


                <thead>
                <tr>
                    <th>提现方式</th>
                    <th>提现金额</th>

                    <th>提现时间</th>
                    <th>状态</th>
                </tr>
                </thead>
            [#if cashRecords?? && cashRecords?size > 0]
                [#list cashRecords as cash]
                    <tr>
                        <td>网站提现</td>
                        <td>￥${cash.total}</td>

                        <td>
                            [#if cash.addtime?? && cash.addtime!= '']
											   ${p2p_date_format(cash.addtime ,"yyyy-MM-dd HH:mm:ss")}

											[/#if]
                        </td>
                        <td>
                            [#if cash.status==1]
                                成功
                            [#elseif cash.status==0]
                                审核中
                            [#elseif cash.status==-1]
                                失败
                            [#elseif cash.status==2]
                                易宝处理中
                            [#elseif cash.status==3]
                                审核中

                            [/#if]
                        </td>
                    </tr>
                [/#list]
            [#else]
                <tr>
                    <td id="tbody" style="background: #fff" colspan="8"><div class="nodataimg"></div></td>
                </tr>
            [/#if]

            </table>

        </div>
    [@p.pager pager = page  parameterMap={"type":"${type}"}  url = "${path}/member/account/withdrawals"/]

    </div>
</div>
[#include "/customer/include/footer.ftl"]

</body>
</html>